package com.guanyu.u2cache.util;

import cn.hutool.core.net.NetUtil;
import lombok.SneakyThrows;

import java.net.InetAddress;

/**
 * @author zhouyunjian
 * @date 2023/11/14 15:40
 * 获取地址信息工具
 **/
public class AddressUtil {

    @SneakyThrows
    public static String getMacAddress() {
        return NetUtil.getMacAddress(InetAddress.getLocalHost());
    }
}
